import HTTP from '@/utils/request'

/** 获取优惠券列表 */
export function fetchCouponList(params) {
    return HTTP.request('GET', {
        url: '/system/code/list',
        params
    })
}

/** 获取优惠券 详情 */
export function fetchCouponDetail(id, status = 'default') {
  return new Promise((resolve) => {
    resolve('real api');
  });
}
